package com.day11.person;

public class BasketballCoach extends Coach{
    public BasketballCoach()
    {
    }
    public BasketballCoach(String name,int age)
    {
        super(name,age);
    }

    @Override
    public void teach() {
        System.out.println("BasketballCoach is teaching");

    }

    @Override
    public void eat() {
        System.out.println("BasketballCoach is eating");

    }
}